package config

import (
	"github.com/zeromicro/go-queue/kq"
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	rest.RestConf
	Kafka      kq.KqConf
	UserRPC    zrpc.RpcClientConf
	VideoRPC   zrpc.RpcClientConf
	CommentRPC zrpc.RpcClientConf
	MessageRPC zrpc.RpcClientConf

	Auth struct {
		AccessSecret string
		AccessExpire int64
	}

	OSS struct {
		EndPoint        string
		AccessKey       string
		AccessSecret    string
		VideoBucketName string
		ImageBucketName string
		SSL             bool
	}

	Pulsar struct {
		URL   string
		Topic string
	}

	NSQ struct {
		URL   string
		Topic string
	}
}
